package com.zhuss.product.db.dao.ext;

import com.zhuss.bean.vo.product.hotLine.ListHotLineVoEx;
import com.zhuss.product.db.entity.HotLine;
import com.zhuss.bean.bo.product.hotLine.SearchHotLineBo;
import com.zhuss.bean.vo.product.hotLine.ListHotLineVo;
import com.zhuss.bean.vo.product.hotLine.DetailHotLineVo;
import java.util.List;
import org.apache.ibatis.annotations.*;
import com.zhuss.product.db.dao.gen.*;

/**
 * @description: 热门线路数据库Dao
 * @author: zhushanshuo
 * @create: Mon Jan 11 09:20:35 CST 2021
 **/

@Mapper
public interface HotLineDao extends HotLineMapper {
	
	void create(HotLine record);
	
	void delete(HotLine record);

	List<HotLine> listAll();

	List<HotLine> listById(@Param("hotLineIdList") List<Long> hotLineIdList);
	
	List<HotLine> listByName(@Param("name") String name);
	
	List<ListHotLineVo> list(SearchHotLineBo bo);
	
	Integer countList(SearchHotLineBo bo);

	DetailHotLineVo detail(@Param("hotLineId") Long hotLineId);

	List<ListHotLineVoEx> hotLinelistex(SearchHotLineBo bo);
}
